package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预约体检记录对象 medical_examinations
 * 
 * @author ruoyi
 * @date 2025-06-30
 */
public class MedicalExaminations extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一主键 */
    private Long id;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private Integer patientId;

    /** 就诊卡号 */
    @Excel(name = "就诊卡号")
    private String medicalCardNumber;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCardNumber;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;

    /** 体检套餐名称 */
    @Excel(name = "体检套餐名称")
    private String packageName;

    /** 套餐费用 */
    @Excel(name = "套餐费用")
    private BigDecimal packageFee;

    /** 状态(待体检/已完成/已退款) */
    @Excel(name = "状态(待体检/已完成/已退款)")
    private String status;

    /** 体检日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "体检日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date examDate;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appointmentTime;

    /** 记录创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPatientId(Integer patientId)
    {
        this.patientId = patientId;
    }

    public Integer getPatientId()
    {
        return patientId;
    }

    public void setMedicalCardNumber(String medicalCardNumber) 
    {
        this.medicalCardNumber = medicalCardNumber;
    }

    public String getMedicalCardNumber() 
    {
        return medicalCardNumber;
    }

    public void setIdCardNumber(String idCardNumber) 
    {
        this.idCardNumber = idCardNumber;
    }

    public String getIdCardNumber() 
    {
        return idCardNumber;
    }

    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    public void setPackageName(String packageName) 
    {
        this.packageName = packageName;
    }

    public String getPackageName() 
    {
        return packageName;
    }

    public void setPackageFee(BigDecimal packageFee) 
    {
        this.packageFee = packageFee;
    }

    public BigDecimal getPackageFee() 
    {
        return packageFee;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setExamDate(Date examDate) 
    {
        this.examDate = examDate;
    }

    public Date getExamDate() 
    {
        return examDate;
    }

    public void setAppointmentTime(Date appointmentTime) 
    {
        this.appointmentTime = appointmentTime;
    }

    public Date getAppointmentTime() 
    {
        return appointmentTime;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("patientId", getPatientId())
            .append("medicalCardNumber", getMedicalCardNumber())
            .append("idCardNumber", getIdCardNumber())
            .append("phoneNumber", getPhoneNumber())
            .append("packageName", getPackageName())
            .append("packageFee", getPackageFee())
            .append("status", getStatus())
            .append("examDate", getExamDate())
            .append("appointmentTime", getAppointmentTime())
            .append("createdAt", getCreatedAt())
            .toString();
    }
}
